﻿namespace GdNet.WebFramework.Modules.Common.ModuleBase
{
    public interface IModuleActionService
    {
        /// <summary>
        /// Execute the action and return DTO result
        /// </summary>
        object Execute(ActionDetail actionDetail);

        /// <summary>
        /// Get full path to the view name
        /// </summary>
        string GetViewPath(string moduleCode, string viewName);
    }
}
